home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / hardware / ryemouse / ryemouse.h < prev    next >
Text File  |  1995-01-22  |  3KB  |  112 lines

  1. /* 
  2.    WARNING: Do not alter or delete file NOTREGIS.TXT
  3.    It will cause RYEMOUSE.LIB to malfunction.
  4. */
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. //////////////////////////////////////////////////////////////////
  12. void initmouse(void);
  13. /*      You MUST call this routine before any other.
  14.     It will display a message requesting registration.
  15.     The registered version does not have this, nor does it
  16.     check for the notregis.txt file.
  17. */
  18.  
  19. //////////////////////////////////////////////////////////////////
  20. void showmouse(void);
  21. /*      Makes mouse visible.
  22. */
  23.  
  24. //////////////////////////////////////////////////////////////////
  25. void hidemouse(void);
  26. /*      Makes mouse invisible.
  27. */
  28.  
  29. //////////////////////////////////////////////////////////////////
  30. void getmouse(int *,int *,int *);
  31. /*      Gets mouse information.
  32.     Call routine like so:
  33.     --------------------------------------
  34.     getmouse(int *x,int *y, int *buttons);
  35.     --------------------------------------
  36.  
  37.     x will contain the x-coordinate of the mouse,
  38.     y will contain the y-coordinate of the mouse,
  39.     buttons will contain the button status:
  40.     0: No buttons pressed
  41.     1: Left button pressed
  42.     2: Right button pressed
  43.     3: Both buttons pressed
  44. */
  45.  
  46. //////////////////////////////////////////////////////////////////
  47. void setmousepos(int,int);
  48. /*      Sets current mouse position.
  49.     Call like so:
  50.     -----------------------------
  51.     setmousepos(int 160,int 100);
  52.     -----------------------------
  53.     The first value is the x, the second is the y.
  54. */
  55.  
  56. //////////////////////////////////////////////////////////////////
  57. void setxlimit(int,int);
  58. /*      Sets the x limits.
  59.     The first value is the minimum x value,
  60.     the second is the maximum x value
  61. */
  62.  
  63. //////////////////////////////////////////////////////////////////
  64. void setylimit(int,int);
  65. /*      Same as above, but for the y value.
  66. */
  67.  
  68. //////////////////////////////////////////////////////////////////
  69. void getmotion(int *,int *);
  70. /*      Gets the amount the mouse move since the last call to
  71.     this routine.
  72.     Call like so:
  73.     -------------------------
  74.     getmotion(int *x,int *y);
  75.     -------------------------
  76.  
  77.     y will return vertical movement,
  78.     x will return horizontal movement.
  79.  
  80.     NOTE: Movement is NOT IN PIXELS!!!!
  81.     It's in mickeys, another form of mouse measurement.
  82.     You'll have to experiment with it.
  83. */
  84.  
  85.  
  86.  
  87.  
  88. /*
  89.     Registered version includes:
  90.  
  91.     * Graphics screen setting.
  92.     * Graphics cursor shape setting.
  93.     * Text cursor shape setting.
  94.     * Light Pen emulation.
  95.     * Mickey/Pixel ratio setting.
  96.     * Conditional cursor off.  This makes the mouse cursor invisible in
  97.       a defineable area of the screen.
  98.     * Set/get mouse sensitivity
  99.     * Set/get mouse display page
  100.     * Set interrupt rate
  101.     * Enable/disable mouse driver
  102.     * Mouse software reset
  103.     * Get/set message language
  104.     * Get mouse information. Retrieves such information as driver version, 
  105.       mouse type, etc...
  106.     * Mouse hardware reset
  107.     * Digital Manual
  108. */
  109.  
  110.  
  111.  
  112.